/*************************************************************************
	> File Name: client.cpp
	> Author: ma6174
	> Mail: ma6174@163.com 
	> Created Time: 2021年12月01日 星期三 21时08分00秒
 ************************************************************************/

#include<iostream>
#include "state.h"
using namespace std;

int main()
{
	Work w(9);
	w.printProgram();

	w.setHour(10);
	w.printProgram();
	w.setHour(12);
	w.printProgram();
	w.setHour(13);
	w.printProgram();
	w.setHour(14);
	w.printProgram();
	w.setHour(17);
	w.setFinish(false);
	w.printProgram();


	w.setHour(19);
	w.printProgram();

	w.setHour(22);
	w.printProgram();

	return 0;
}
